<?php
/* @var $this PageController */
/* @var $model Page */
$indo = lang() == "id";
$this->pageTitle=Yii::app()->name . ' - '.$indo ? $model->nama_halaman : $model->page_name;
$this->judul_hal = $indo ? $model->nama_halaman : $model->page_name;
cs()->registerCssFile(bu().'/css/jquery.mCustomScrollbar.css');
cs()->registerScriptFile(bu().'/plugins/jquery-ui-1.9.1.custom.min.js',CClientScript::POS_BEGIN);
cs()->registerScriptFile(bu().'/plugins/jquery.mousewheel.min.js',CClientScript::POS_BEGIN);
cs()->registerScriptFile(bu().'/plugins/jquery.mCustomScrollbar.js',CClientScript::POS_BEGIN);

?>
<script>
    (function ($) {
        $(window).load(function () {
            /* custom scrollbar fn call */
            $(".content_2").mCustomScrollbar({
                scrollInertia:0
            });
        });
    })(jQuery);
</script>
<div style="padding: 10px;">
<div class="judul_news">
<?php echo $indo ? $model->judul : $model->title; ?>
</div>
<div class="content_2 content isi">
<?php echo $indo ? $model->isi_halaman : $model->content; ?>
</div>
</div>
